package com.hbnu.auditlog.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 视频审核管理对象 yz_audit_log
 * 
 * @author ruoyi
 * @date 2025-05-28
 */
public class AuditLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 审核id */
    private Long id;

    /** 审核视频id */
    @Excel(name = "审核视频id")
    private Long videoId;

    /** 审核员id */
    @Excel(name = "审核员id")
    private Long operatorId;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private String status;

    /** 拒绝理由 */
    @Excel(name = "拒绝理由")
    private String reason;

    /** 审核创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setVideoId(Long videoId) 
    {
        this.videoId = videoId;
    }

    public Long getVideoId() 
    {
        return videoId;
    }

    public void setOperatorId(Long operatorId) 
    {
        this.operatorId = operatorId;
    }

    public Long getOperatorId() 
    {
        return operatorId;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("videoId", getVideoId())
            .append("operatorId", getOperatorId())
            .append("status", getStatus())
            .append("reason", getReason())
            .append("createdAt", getCreatedAt())
            .toString();
    }
}
